From 6a7c1b4ee045e5ab2bfa0d32fa22a5b98e20696d Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Thu, 30 Nov 2006 20:16:54 +0000 Subject: [PATCH] Fix default for the authentication on the Xen-API server -- the default should be PAM, not none! Signed-off-by: Ewan Mellor --- tools/python/xen/xend/server/SrvServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/server/SrvServer.py b/tools/python/xen/xend/server/SrvServer.py index 934e6d300b..f995a13bf9 100644 --- a/tools/python/xen/xend/server/SrvServer.py +++ b/tools/python/xen/xend/server/SrvServer.py @@ -154,7 +154,7 @@ def create(): if api_cfg: try: addrs = [(str(x[0]).split(':'), - len(x) > 1 and x[1] or XendAPI.AUTH_NONE, + len(x) > 1 and x[1] or XendAPI.AUTH_PAM, len(x) > 2 and x[2] and map(re.compile, x[2].split(" ")) or None) for x in api_cfg] -- 2.30.2